package com.gao.shiro.demo.mapper;

import com.gao.shiro.demo.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @author 高枫
 */
@Repository
public interface UserMapper {
    /**
     * 获取用户信息
     *
     * @param name 用户名
     * @return com.example.shiro.pojo.User
     */
    User getUser(@Param("name") String name) ;
}
